package com.service.impl;

import com.domain.Medical;
import com.dao.MedicalDao;
import com.service.IMedicalService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2023-03-07
 */
@Service
public class MedicalServiceImpl extends ServiceImpl<MedicalDao, Medical> implements IMedicalService {
    @Autowired
    private MedicalDao medicalDao;
    public List<Medical> getByName(String name){
        return medicalDao.getByName(name);
    }
}
